package com.tyust.dao;

import java.sql.SQLException;
import java.util.List;

import com.tyust.entity.Car;


public interface CarDao {

	public Integer findCarCount(Car car) throws SQLException;//查总数
	
	public List<Car> findByCondition(Car car) throws SQLException;//根据条件查分页数据
	
	public void delete(String carNo) throws SQLException;//删
	
	public void edit(Car car) throws SQLException;//改
	
	public void add(Car car) throws SQLException;//增
	
	public Car findByNo(String carNo) throws SQLException;
	
	
}
